<?php

class MemberDetailsPageLink extends Extension {
	function getMemberDetails(){
        $page = MemberDetailsPage::get()->find('ClassName', 'MemberDetailsPage');
        if($page) return $page;
    }
    
    function getMemberDetailsLink() {
        $page = $this->getMemberDetails();
        if($page) return $page->Link();
    }
}
